POV-Ray : Newsgroups : povray.newusers : height fields and annoying white spots : Re: height fields and annoying white spots Server Time
15 Aug 2024 04:22:10 EDT (-0400)
  Re: height fields and annoying white spots  
From: Matthew Green
Date: 27 Jul 2002 02:52:16
Message: <3d424320@news.povray.org>
Small example scene...  Okay.  Try this.  The bmp can be found at
http://www.slimy.com/~mgreen/rollinghills1.bmp shortly.

// =====================================

camera {
 location 0.2*<11, 3, 0>
 look_at 0.2*<0, 2, 0>
}

light_source {
 <10, 3, -10>
 color 1.9*<1, 1, 1>
}

#declare ground_o =
 height_field {
  sys "C:\mydocu~1\povfiles\height_field\rollinghills2.bmp"
  smooth
  translate <-0.5, -0.25, -0.5>
  scale <10, 4, 10>
  rotate -5*z
 }

#declare ground =
 object {
  ground_o
  texture {sandtex}
 }

object {
 ground
}

#declare sandtex =
  texture {
     pigment {color rgb 1.34*<0.75,0.68,0.5>}
     normal {bozo, 0.8 scale 0.2}
     finish {crand 0.1 ambient 0.4}
  }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.